<template>
    <!--   面包屑导航-->
    <div class="bread">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/welcome' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item><slot name="nav1"></slot></el-breadcrumb-item>
            <el-breadcrumb-item><slot name="nav2"></slot></el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script>
    export default {
        name: "BreadNav"
    }
</script>

<style scoped lang="less">
    .bread{
        margin-bottom: 30px;
    }

</style>